<?php // Change the css classes to suit your needs    

$attributes = array('class' => '', 'id' => '');
echo form_open('contacto', $attributes); ?>

<p>
        <label for="username">Username <span class="required">*</span></label>
        <?php echo form_error('username'); ?>
        <br /><input id="username" type="text" name="username"  value="<?php echo set_value('username'); ?>"  />
</p>

<p>
        <label for="email">Email <span class="required">*</span></label>
        <?php echo form_error('email'); ?>
        <br /><input id="email" type="text" name="email"  value="<?php echo set_value('email'); ?>"  />
</p>

<p>
        <label for="about">About</label>
        <?php echo form_error('about'); ?>
        <br /><input id="about" type="text" name="about"  value="<?php echo set_value('about'); ?>"  />
</p>

<p>
        <label for="comment">Comment <span class="required">*</span></label>
        <?php echo form_error('comment'); ?>
        <br /><input id="comment" type="text" name="comment"  value="<?php echo set_value('comment'); ?>"  />
</p>


<p>
        <?php echo form_submit( 'submit', 'Submit'); ?>
</p>

<?php echo form_close(); ?>
